
<h2>Rails Shell</h2>

<b>Scaffold</b>
<br>ruby script/generate scaffold Movie title:string description:text


<h2>Install</h2>

<h3>gem</h3>
<b>installation d'une version antérieur de rails</b>
<br>gem install --source http://gems.rubyforge.org rails -v 1.2.6 -y
<br>
<b>freezer une version anterieur</b>
<br>rake rails:freeze:gems VERSION=2.3.2
<br>
<b>error plugin git</b>
<br>si erreur a l'install : remplacer git:// par http:// et ajouter / à la fin!
<br>
<b>error mysql windows</b>
<br>copier D:\InstantRails\mysql\bin\libmysql.dll de la v5.0x dans c:\windows\system32

<h3>mysql</h3>
<b>mysql install</b>
<br>gem install mysql
<br>gem update --system
<br>gem update
<br>
<b>tester la connction a la DB</b>
<br>mysql -u login -ppassword database_name ?

<h2>Divers / plugins</h2>
Merb
<br>Authentification : oauth 

TDD test driven development


